package com.ruoyi.cms.controller;

import com.ruoyi.cms.service.ICmsSiteInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@Controller
public class CmsWebController {
    @Autowired
    private ICmsSiteInfoService cmsSiteInfoService;

    /**
     * 模态窗口
     */
    @GetMapping("/index")
    public String index(Model model) {
//        cmsSiteInfoService.selectCmsSiteInfoByInfoId()
        return "index";
    }

}
